home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Texteditors / Origami / Sources / src / Amiga / smakefiles / vie_smakefile < prev   
Encoding:
Makefile  |  1996-09-27  |  1.3 KB  |  64 lines

  1. #Makefile for the amiga port of origami
  2. #Version 1.6.92.1
  3. #
  4. SC=             sc
  5. SLINK=          slink
  6. #
  7. #FLAGS1 : compiler options for compiler behaviour
  8. FLAGS1=         ANSI NOICONS STRCON WARNVOIDRETURN IGNORE=104
  9. #
  10. #FLAGS2 : include options
  11. FLAGS2=         IDIR=origami:
  12. #
  13. #FLAGS3 : define options
  14. FLAGS3=         DEF=MOUSY DEF=VIEWRC DEF=AMIGA
  15. #
  16. #FLAGS4 : additional options
  17. FLAGS4=         OPTIMIZE OptComp=0 OptInl OptInlocal Optsize
  18. #
  19. #DEBUG_FLAGS : define DEBUG for DEGUB usage
  20. #DEBUG_FLAGS=    DEBUG=symbolflush
  21. #DEB_LD_FLAGS=   ADDSYM
  22. #
  23. #FLAGS5 : link options for linker behaviour
  24. FLAGS5=         BATCH
  25. #
  26. #FLAGS6 : library options
  27. FLAGS6=         LIB LIB:sc.lib LIB LIB:amiga.lib LIB /lib/orilib.lib
  28.  
  29. SCFLAGS=        ResOpt $(FLAGS1) $(FLAGS2) $(FLAGS3) $(FLAGS4) $(DEBUG_FLAGS)
  30. LDFLAGS=        $(FLAGS5) $(FLAGS6) $(DEB_LD_FLAGS)
  31.  
  32. .c.o:
  33.                 $(SC) $(SCFLAGS) $*
  34.  
  35. OBJS=           main.o text.o
  36.  
  37. #{{{}}}
  38. #{{{  -> all
  39. all:            viewrc
  40. #}}}
  41.  
  42. #{{{  viewrc
  43. viewrc:         $(OBJS)
  44.                 $(slink) <WITH <
  45.                 from lib:c.o+$(OBJS)
  46.                 to viewrc $(LDFLAGS)
  47.                 <
  48. #}}}
  49.  
  50. #{{{  -> install
  51. install:
  52.                 copy viewrc //bin
  53. #}}}
  54.  
  55. #{{{  -> reset
  56. reset:          clean
  57.                 -delete viewrc smakefile
  58. #}}}
  59.  
  60. #{{{  -> clean
  61. clean:
  62.                 -delete \#?.o \#?.lnk \#?.tmp \#?.info
  63. #}}}
  64.